package com.vueapi.exception;

/**
 * @Classname UserException
 * @Description TODO
 * @Created by 赵宏建
 * @Date 2022/9/21 9:21
 * @Version 1.0.0
 */
public class UserException extends RuntimeException {

    private int code;

    private String errMsg;

    public  UserException(int code,String msg){
        this.code = code;
        this.errMsg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

}
